(function() {
    var b = mobiscroll,
        a = b.$;
    b.themes.frame.material = {
        showLabel: false,
        headerText: false,
        btnWidth: false,
        selectedLineBorder: 2,
        weekDays: 'min',
        deleteIcon: 'material-backspace',
        icon: {
            filled: 'material-star',
            empty: 'material-star-outline'
        },
        checkIcon: 'material-check',
        btnPlusClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-down',
        btnMinusClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-up',
        btnCalPrevClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-left',
        btnCalNextClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-right',
        onMarkupReady: function(c) {
            b.themes.material.initRipple(a(c.target), '.mbsc-fr-btn-e', 'mbsc-fr-btn-d', 'mbsc-fr-btn-nhl');
        },
        onEventBubbleShow: function(e) {
            var b = a(e.eventList),
                c = a(e.target).closest('.mbsc-cal-row').index() < 2,
                d = a('.mbsc-cal-event-color', b).eq(c ? 0 : -1).css('background-color');
            a('.mbsc-cal-events-arr', b).css('border-color', c ? 'transparent transparent ' + d + ' transparent' : d + 'transparent transparent transparent');
        }
    };
}());